Platform Explorer / Nuxeo Platform 2021.64

Component org.nuxeo.ecm.core.work.config

Documentation

The default queue configuration for the work manager, the scheduled job to cleanup the completed work instances, and the related listener.

Resolution Order

146
The resolution order represents the order in which this component has been resolved by the Nuxeo Runtime framework.
You can influence this order by adding "require" tags in your component declaration, to make sure it is resolved after another component.

Contributions

XML Source

<?xml version="1.0"?>
<component name="org.nuxeo.ecm.core.work.config" version="1.0">

  <documentation>
    The default queue configuration for the work manager,
    the scheduled job to cleanup the completed work instances,
    and the related listener.
  </documentation>

  <extension target="org.nuxeo.ecm.core.work.service" point="implementation">
    <queuing class="org.nuxeo.ecm.core.work.MemoryWorkQueuing"/>
  </extension>

  <extension target="org.nuxeo.ecm.core.work.service" point="queues">
    <queue id="default">
      <name>Default queue</name>
      <maxThreads>4</maxThreads>
      <!-- clear completed work instances older than 10 minutes -->
      <clearCompletedAfterSeconds>600</clearCompletedAfterSeconds>
    </queue>
  </extension>

</component>